﻿@{
    ViewBag.Title = "Trang Chủ";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="ja-innerpad clearfix">
    <div class="clearfix" id="sl">
        <div id="tpcont">
            <div class="tpslide">
                <div class="mask">
                    <div id="tpslides">
                        <div class='thumbslide'>
                            <img src="@Url.Content("~/Content/images/banners/airline.jpg")" alt="Banner" /></div>
                        <div class='thumbslide'>
                            <img src="@Url.Content("~/Content/images/banners/mbien.jpg")" alt="Banner" /></div>
                        <div class='thumbslide'>
                            <img src="@Url.Content("~/Content/images/banners/halong.jpg")" alt="Banner" /></div>
                        <div class='thumbslide'>
                            <img src="@Url.Content("~/Content/images/banners/singa.jpg")" alt="Banner" /></div>
                    </div>
                </div>
                <div class="buttons" id="morehandle">
                    <span>1</span><span>2</span><span>3</span><span>4</span>
                </div>
            </div>
        </div>
    </div>
    <div class="clearfix" id="24hbay">
        <div class="rsform">
            @using (Html.BeginForm("Index", "Flight", FormMethod.Get))
            {
                <div class="componentheading">
                Đặt Vé Trực Tuyến</div>
            <table  cellpadding="3" cellspacing="3">
                <tbody id="rsform_6_page_0">
                    <tr>
                        <td>
                        </td>
                        <td>
                            <h2>
                                <b>Bạn gọi số: 0633 383 349 Để đặt vé trực tiếp.</b></h2>
                            <h2>
                                Hoặc <b>Đăng Ký Thông tin trực tiếp tại trang này</b>.</h2>
                                    <div class="formClr"></div>
                                
                                <td>
                                </td>
                    </tr>
                    <tr>
                        <td>
                            Hãng Hàng Không
                        </td>
                        <td>
                            @Html.DropDownList("HangHK", new List<SelectListItem>() { 
                                new SelectListItem{Text="Airlines", Value="Vietnam Airline"},
                                new SelectListItem{Text="Mekong", Value="Air Mekong"},
                                new SelectListItem{Text="Jetstar", Value="Jetstar Pacific"}
                            })
                            <div class="formClr">
                            </div>
                            <span id="component62" class="formNoError">Chọn hãng hàng không.</span>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Loại Vé
                        </td>
                        <td>
                            @Html.RadioButton("LoaiVe", "Một chiều", true, new{@id="HangVe0"})
                            <label
                                for="HangVe0">Một chiều</label>
                            @Html.RadioButton("LoaiVe", "Khứ hồi", false, new{@id="HangVe1"})
                            <label for="HangVe1">Khứ hồi</label>
                            <div class="formClr"></div>
                            <span id="component50" class="formNoError">Invalid Input</span>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Hạng Vé
                        </td>
                        <td>
                            @Html.RadioButton("HangVe", "Phổ thông", true, new{@id="HangVe0"})
                            <label
                                for="HangVe0">Phổ thông</label>
                            @Html.RadioButton("HangVe", "Thương gia", false, new{@id="HangVe1"})
                            <label for="HangVe1">Thương Gia</label>
                            @Html.RadioButton("HangVe", "Khuyến mại", false, new{@id="HangVe3"})
                            <label
                                for="HangVe3">Khuyến mại</label>
                            <div class="formClr"></div>
                            <span id="component65" class="formNoError">Invalid Input</span>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Nơi Đi
                        </td>
                        <td>
                            @Html.DropDownList("NoiDi")
                            <div class="formClr"></div>
                            <span id="component52" class="formNoError">Invalid Input</span>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Nơi Đến
                        </td>
                        <td>
                            @Html.DropDownList("NoiDen")
                            <div class="formClr"></div>
                            <span id="component52" class="formNoError">Invalid Input</span>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Ngày Đi
                        </td>
                        <td>
                            @Html.TextBox("NgayDi", "", new { @id = "txtcal0", @readonly="readonly" })
                            <input id="btn0" type="button" value="..." onclick="showHideCalendar('cal0Container');" class="btnCal" />
                            <div id="cal0Container" style="clear: both; display: none; position: absolute; z-index: 9992">
                            </div>
                            <div class="formClr">
                            </div>
                            <span id="component53" class="formNoError">Invalid Input</span>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Ngày Về
                        </td>
                        <td>
                            @Html.TextBox("NgayVe", "", new { @id = "txtcal1" })
                            <input id="btn1" type="button" value="..." onclick="showHideCalendar('cal1Container');" class="btnCal" />
                            <div id="cal1Container" style="clear: both; display: none; position: absolute; z-index: 9991"></div>
                            <div class="formClr"></div>
                            <span id="component54" class="formNoError">Invalid Input</span>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <table width="100%" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td>
                                        Người Lớn
                                    </td>
                                    <td>
                                        @Html.DropDownList("SLNguoiLon")
                                        <div class="formClr"></div>
                                        <span id="component56" class="formNoError">Invalid Input</span>
                                    </td>
                                    <td>
                                    </td>
                                    <td>
                                        Trẻ Em
                                    </td>
                                    <td>
                                        @Html.DropDownList("SLTre")
                                       <div class="formClr"></div>
                                        <span id="component57" class="formNoError">Invalid Input</span>
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Yêu Cầu Khác
                        </td>
                        <td>@Html.TextArea("yeucau", new {@cols="50", @rows="4", @name="yeucau", @id="yeucau"})
                            <div class="formClr">
                            </div>
                            <span id="component58" class="formNoError">Invalid Input</span>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <input type="submit" value="Tìm chuyến bay" />
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                </tbody>                              
            </table>
            }
            
            <script type="text/javascript" src="@Url.Content("~/Content/components/com_rsform/assets/calendar/cal.js")"></script>
            <script type="text/javascript">                //CALENDAR SETUP
                var MONTHS_SHORT = Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec");
                var MONTHS_LONG = Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
                var WEEKDAYS_1CHAR = Array("S", "M", "T", "W", "T", "F", "S");
                var WEEKDAYS_SHORT = Array("Su", "Mo", "Tu", "We", "Th", "Fr", "Sa");
                var WEEKDAYS_MEDIUM = Array("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat");
                var WEEKDAYS_LONG = Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
                var START_WEEKDAY = 0;</script>
            <script type="text/javascript" defer="defer">                rsf_CALENDAR.util.Event.addListener(window, "load", init(Array('POPUP', 'POPUP'), Array('dd/mm/yyyy', 'dd/mm/yyyy'), Array('', '')));</script>
            <script type="text/javascript" src="@Url.Content("~/Content/components/com_rsform/assets/js/pages.js")"></script>
            <script type="text/javascript">                rsfp_changePage(6, 0, 1)</script>
        </div>
    </div>
</div>


